package com.alvis.exam.repository;

import com.alvis.exam.domain.TStationDict;
import com.alvis.exam.domain.TStationDictExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TStationDictMapper extends BaseMapper<TStationDict>{
    long countByExample(TStationDictExample example);

    int deleteByExample(TStationDictExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TStationDict record);

    int insertSelective(TStationDict record);

    TStationDict selectOneByExample(TStationDictExample example);

    TStationDict selectOneByExampleSelective(@Param("example") TStationDictExample example, @Param("selective") TStationDict.Column ... selective);

    List<TStationDict> selectByExampleSelective(@Param("example") TStationDictExample example, @Param("selective") TStationDict.Column ... selective);

    List<TStationDict> selectByExample(TStationDictExample example);

    TStationDict selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") TStationDict.Column ... selective);

    TStationDict selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TStationDict record, @Param("example") TStationDictExample example);

    int updateByExample(@Param("record") TStationDict record, @Param("example") TStationDictExample example);

    int updateByPrimaryKeySelective(TStationDict record);

    int updateByPrimaryKey(TStationDict record);

    void insertOrUpdateBatch(@Param("list") List<TStationDict> list);
}
